*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height:100%;
}
.container{
    width: 100%;
    height: 100%;
    background-image: url(../images/backgroundimg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-top: 440px;
}

#lottery{
    position: relative;
    width: 85%;
    background-color: #ffe84c;
    margin: 0 auto;
    border-radius: 20px;
    border: 20px solid #ffe84c;
    z-index: 99;
}
#lottery .lotteryBox{
    width: 100%;
    text-align: center;
    border: 6px solid #360379;
    background-color: #360379;
    border-radius: 20px; 
}
#lottery .lotteryBox ul{
    list-style: none;
    overflow: hidden;
}
#lottery .lotteryBox ul li{
    float: left;
    width: 33.33%;
    background-color: #f26979;
    border: 5px solid #360379;
    text-align: center;
    border-radius: 10px;
    padding-bottom: 10px;
    position: relative;
}
#lottery .lotteryBox ul li .itembox{
    height: 22vw;
    border: 8px solid #f26979;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}
#lottery .lotteryBox ul li.active .itembox{
    border: 11px solid #f26979;
}

#lottery .lotteryBox ul li .itembox .img {
    width: 148px;
    height: 68px;
    margin-top: 10px;
}
#lottery .lotteryBox ul li .itembox .img img{
    width: 100%;
    height: 100%;
}
#lottery .lotteryBox ul li .itembox span{
    font-size: 22px;
    display: block;
    width: 100%;
    padding: 0 10px;
}
#lottery .lotteryBox .lottery-unit-a{
    background-color: #f2c700;
    padding: 0;
    width: 33.33%;
    border: 5px solid #360379;
    text-align: center;
    border-radius: 10px;
}
#lottery .lotteryBox ul li a {
    width: 100%;
    height: 23vw;
    display: block;
    text-decoration: none;
    border-radius: 8px;
}
/* 抽奖按钮 */
#lottery .lotteryBox ul li a .lotteryClick{
    width: 100%;
    height: 93%;
    background-color: #ffe840;
    border: 8px solid #f2c700;
    border-radius: 20px;
    font-size: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    padding: 15px;
}
#lottery .lotteryBox ul li.active .mask{
    display: block;
}
/* 蒙层 */
.mask {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}
/* 我的奖品 */
.myPrize{
    width: 85%;
    height: 100px;
    margin: 0 auto;
    line-height: 100px;
    margin-top: -40px;
    padding-top: 18px;
    overflow: hidden;
}
.prizeTxt{
    width: 33.33%;
    height: 100%;
    float: right;
    background-color: #0075cf;
    font-size: 24px;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 15px;
}
/* 抽奖规则 */
.ruleBox{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 20px;
    color: #fff;
}
.ruleTitle{
    border: 1px solid #fff;
    width: 60px;
    border-radius: 5px;
    font-size: 26px;
    text-align: center;
    padding: 10px;
}
.ruleInfo{
    font-size: 22px;
    line-height: 40px;
    margin-left: 20px;
}
.prizeNumber{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: none;
}
.finishbox{
    width: 80%;
    position: fixed;
    border-radius: 20rpx;
    z-index: 9999;
    left: 10%;
    height: 35%;
    top: 32.5%;
}
.numberBox{
    width: 100%;
    height: 35vw;
    padding: 0 40px;
    background-color: #004982;
    border: 10px solid #ffdd41;
    border-radius: 30px;
    font-size: 54px;
    line-height: 80px;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.numbtn{
    width: 80%;
    height: 10vw;
    margin-left: 10%;
    background-color: #ffdd41;
    color: #6b3d02;
    border: none;
    border-radius: 10px;
    font-size: 36px;
    margin-top: 50px;
}
/* 奖品 */
.acceptPrize{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: none;
}
.prizedialog{
    width: 80%;
    position: fixed;
    border-radius: 20rpx;
    z-index: 9999;
    left: 10%;
    height: 40%;
    top: 30%;
}
.contentBox{
    width: 100%;
    height: 70vw;
    background-image: url(../images/dialogbg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #fff;
    font-size: 36px;
    text-align: center;
    padding: 50px 30px 0;
    border: 10px solid #ffdd41;
    border-radius: 25px;
}
.prizeImg{
    width: 420px;
    height: 220px;
    border: 10px solid #fff;
    margin: 0 auto;
    margin-top: 60px;
}
.prizeImg img{
    width: 100%;
    height: 100%;
}
.prizeBtn{
    width: 80%;
    height: 10vw;
    margin-left: 10%;
    background-color: #ffdd41;
    color: #6b3d02;
    border: none;
    border-radius: 10px;
    font-size: 36px;
    margin-top: 50px;
}